[INFO] cloning repository https://github.com/nof1000/winit-direct2d
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nof1000/winit-direct2d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnof1000%2Fwinit-direct2d", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnof1000%2Fwinit-direct2d'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 345e4a7c5f673f515e02ef911685f9bbf18e5737
[INFO] building nof1000/winit-direct2d against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnof1000%2Fwinit-direct2d" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nof1000/winit-direct2d on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nof1000/winit-direct2d
[INFO] finished tweaking git repo https://github.com/nof1000/winit-direct2d
[INFO] tweaked toml for git repo https://github.com/nof1000/winit-direct2d written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/nof1000/winit-direct2d already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9878732e7d7e0066ff26d62b00dc52604b3d3fbf388dfdd9003619df304d38e0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9878732e7d7e0066ff26d62b00dc52604b3d3fbf388dfdd9003619df304d38e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9878732e7d7e0066ff26d62b00dc52604b3d3fbf388dfdd9003619df304d38e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9878732e7d7e0066ff26d62b00dc52604b3d3fbf388dfdd9003619df304d38e0", kill_on_drop: false }`
[INFO] [stdout] 9878732e7d7e0066ff26d62b00dc52604b3d3fbf388dfdd9003619df304d38e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 191ff19d9aacbb93212c9c47a39249e523a3a09817b88ef7350db2509de3755e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "191ff19d9aacbb93212c9c47a39249e523a3a09817b88ef7350db2509de3755e", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling cc v1.0.30
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling cfg-if v0.1.7
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling nix v0.12.0
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling nix v0.13.0
[INFO] [stderr]    Compiling downcast-rs v1.0.3
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling smallvec v0.6.9
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling walkdir v2.2.7
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling stb_truetype v0.2.6
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.11
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling ordered-float v1.0.1
[INFO] [stderr]    Compiling approx v0.3.1
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling rusttype v0.7.5
[INFO] [stderr]    Compiling wayland-sys v0.21.11
[INFO] [stderr]    Compiling andrew v0.2.0
[INFO] [stderr]    Compiling wayland-client v0.21.11
[INFO] [stderr]    Compiling wayland-protocols v0.21.11
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling wayland-commons v0.21.11
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.5
[INFO] [stderr]    Compiling winit v0.19.0
[INFO] [stderr]    Compiling winit-direct2d v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/app.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::winuser::GetClientRect;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct2d`
[INFO] [stdout]  --> src/app.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use direct2d::render_target::hwnd::builder::HwndRenderTargetBuilder;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `direct2d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct2d`
[INFO] [stdout]  --> src/app.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use direct2d::render_target::HwndRenderTarget;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `direct2d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct2d`
[INFO] [stdout]  --> src/app.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use direct2d::brush::SolidColorBrush;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `direct2d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `direct2d`
[INFO] [stdout]  --> src/app.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use direct2d::Factory;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `direct2d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HwndRenderTargetBuilder`
[INFO] [stdout]   --> src/app.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let target = HwndRenderTargetBuilder::new(&factory)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HwndRenderTargetBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SolidColorBrush`
[INFO] [stdout]   --> src/app.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |             let temp_brush = SolidColorBrush::create(&self.render)
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ use of undeclared type `SolidColorBrush`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HwndRenderTarget` in this scope
[INFO] [stdout]   --> src/app.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |     render: HwndRenderTarget,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/app.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 |     hwnd: HWND,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/app.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn with_size(hwnd: HWND, width: u32, height: u32) -> App {
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/app.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn new(hwnd: HWND) -> App {
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/app.rs:107:26
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn get_client_size(hwnd: HWND) -> (u32, u32) {
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/app.rs:109:26
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut buffer : RECT = std::mem::uninitialized();
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope
[INFO] [stdout]    --> src/app.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         GetClientRect(hwnd, &mut buffer);
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Event`, `EventsLoop`, `WindowBuilder`, `WindowEvent`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winit::{WindowBuilder, WindowEvent, EventsLoop, Event};
[INFO] [stdout]    |             ^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `winit::dpi::LogicalSize`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winit::dpi::LogicalSize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `app::App`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use app::App;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/app.rs:109:33
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut buffer : RECT = std::mem::uninitialized();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `winit-direct2d`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "191ff19d9aacbb93212c9c47a39249e523a3a09817b88ef7350db2509de3755e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "191ff19d9aacbb93212c9c47a39249e523a3a09817b88ef7350db2509de3755e", kill_on_drop: false }`
[INFO] [stdout] 191ff19d9aacbb93212c9c47a39249e523a3a09817b88ef7350db2509de3755e
